<?php
    class login {
        public function login() {
            echo '
                <div class="modal fade" id="login">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <a class="close" data-dismiss="modal">&times;</a>
                                <h3>LOGIN</h3>
                            </div>
                            <div class="modal-body">
                                <form class="form-horizontal" role="form" method="post" action="proses/login.php">
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">Username</label>
                                        <div class="col-sm-9">
                                            <input class="form-control" type="text" name="userid" placeholder="email">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">Password</label>
                                        <div class="col-sm-9">
                                            <input class="form-control" type="password" name="pass" placeholder="Password">
                                        </div>
                                    </div>
                            </div>
                            <div class="modal-footer">
                                    <button class="btn btn-primary" type="submit" name="lgin">Login</button>
                            </div>
                                </form>

                        </div>
                    </div>
                </div>
            ';
        }
    }
?>